listbox: Move the priv->gadget allocation
authorBenjamin Otte <otte@redhat.com>
Tue, 29 Nov 2016 10:46:32 +0000 (11:46 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 30 Nov 2016 14:15:08 +0000 (15:15 +0100)
commite28d94bc8baed22da1885488f82cab3160d3afd0
treef5a91670b9ab439ef2f3b69f6fd541c9690f9fd8
parent238334c74eea0548e46e09ee9af1fa87c6971d56
listbox: Move the priv->gadget allocation

It used to be relative to the window, now it is relative to the widget.

That is necessary so the snapshot fuction doesn't confuse coordinate
systems.
gtk/gtklistbox.c